home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
fglqbx10.zip
/
08-01.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-06-06
|
550b
|
35 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
CONST Pages = 4
IF FGtestmode(1,Pages) = 0 THEN
PRINT "This program requires color."
STOP
END IF
OldMode = FGgetmode
FGsetmode 1
FOR Page = 0 TO Pages-1
FGsetpage Page
RectColor = Page + 1
FGsetcolor RectColor
FGrect 0, FGgetmaxx, 0, FGgetmaxy
FGsetattr 0, RectColor, 0
FGlocate 12, 17
CharString$ = "Page" + STR$(Page)
FGtext CharString$, 6
NEXT
FOR Page = 0 TO Pages-1
FGsetvpage Page
FGwaitkey
NEXT
FGsetmode OldMode
FGreset
END